package com.ywjh.inter.entity;

import java.sql.Timestamp;

public class UsersEntity {
	
	private int id;
	private String loginname;
	private String password;
	private String phone;
	private Timestamp register_time;
	private Timestamp last_login_time;
	private int is_doc;
	private int status;
	private String head_url;
	
	public String getHead_url() {
		if(head_url==null) {
			return "/user_head/icon.jpg";
		}
		return head_url;
	}
	public void setHead_url(String head_url) {
		this.head_url = head_url;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getLoginname() {
		return loginname;
	}
	public void setLoginname(String loginname) {
		this.loginname = loginname;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public Timestamp getRegister_time() {
		return register_time;
	}
	public void setRegister_time(Timestamp register_time) {
		this.register_time = register_time;
	}
	public Timestamp getLast_login_time() {
		return last_login_time;
	}
	public void setLast_login_time(Timestamp last_login_time) {
		this.last_login_time = last_login_time;
	}
	public int getIs_doc() {
		return is_doc;
	}
	public void setIs_doc(int is_doc) {
		this.is_doc = is_doc;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	
	
}
